import { cfg_effectKey } from "../intoSkill/cfg_effect";
import SK_func from "../model/fight/skill/SK_func";
import { EffectCondition, Effect_tag, SK_type } from "../shared/interface";
export function loadSkills_auto() {
    let add = ((data)=>{SK_func._addSkillTpl(data)});
    add({
        cd:12,
        type: SK_type.被动技能,
        name: "不灭之握",
        desc: "普通攻击时有概率永久增加自身最大生命",
        effect: [
            {
                tag: Effect_tag.自己,
                condition: EffectCondition.auto_普通攻击时,
                effect_key:cfg_effectKey.永久增加最大生命值_1
            },
        ],
    });
    add({
        type: SK_type.被动技能,
        name: "物理吸血",
        desc: "增加自身的物理吸血",
        effect: [
            {
                tag: Effect_tag.自己,
                condition: EffectCondition.auto_附带即生效,
                effect_key:cfg_effectKey.提升物理吸血
            }
        ],
    });
    add({
        type: SK_type.被动技能,
        name: "太虚剑意",
        desc: "增加自身的攻击速度",
        effect: [
            {
                tag: Effect_tag.自己,
                condition: EffectCondition.auto_附带即生效,
                effect_key:cfg_effectKey.提升攻击速度
            }
        ],
    });
    add({
        type: SK_type.被动技能,
        name: "盾反",
        desc: "反弹普通攻击伤害",
        effect: [
            {
                tag: Effect_tag.敌人,
                condition: EffectCondition.auto_受到普通攻击时,
                effect_key:cfg_effectKey.对目标造成物理伤害_基于护甲
            }
        ],
    });
    add({
        type: SK_type.被动技能,
        name: "自爆",
        desc: "死亡时将对场上全部单位造成N点物理伤害",
        effect: [
            {
                tag: Effect_tag.无差别,
                condition: EffectCondition.auto_死亡时,
                effect_key:cfg_effectKey.对目标造成真实伤害_高范围
            }
        ],
    });
}